<!doctype html>
<html lang="en">

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
		<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
		<link rel="stylesheet" href="../../css/aui.css">
		<link rel="stylesheet" href="../../css/normalUser.css">
		<link rel="stylesheet" href="../../css/pulice.css">
		<script src="../../js/api.js"></script>
		<script src="../../js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../js/vue.min.js"></script>
		<script src="../../js/vue-resource.min.js"></script>
		<script src="../../js/aui-toast.js"></script>
		<script src="../../js/common.js" type="text/javascript" charset="utf-8"></script>
		<script>
			setToken();
			$(function() {
				var app = new Vue({
					el: '#app',
					data: {
						goods: {}, //我的账户
					},
					mounted: function() {
						this.$nextTick(function() {
							this.myAccount();
						})
					},
					methods: {
						myAccount: function() {
							this.$http.get(SURL + "app/Account/myAccount").then(function(res) {
								console.log(res.body.data)
								this.goods = res.body.data;
							}).catch(function(req) {

							});
						},

					}
				});

			})

			$(function() {
				$('.hm-bar').load('../../data/headerOther.html', function() {
					$(this).find('.head-main').text('我的账户');
					$(this).find('.hm-bar-box').css('background', '#2a8fff').css('position', 'static');
					$(this).find('.head-left').on('tap', function() {
						window.history.back();
					});
				});
			})
		</script>
		<title>我的账户</title>
	</head>

	<body id="ksrz">
		<div id="app">
			<div class="hm-bar"></div>
			<div class="myJF myAccInd">
				<div>我的余额</div>
				<div><span class="myJF-span">&yen;</span>{{goods.cash}}</div>
			</div>
			<div class="center-order myAccInd2">
				<div class="center-account">
					<div class="center-account-public">
						<img class="center-account-icon1" src="../../img/myAccIcon1.png" alt="" />
						<div class="font-base-28">待发现金余额</div>
						<div class="font-base-28 center-account-money">
							<span>{{goods.freezeCash}}</span>
						</div>
					</div>
					<div class="center-account-public" @click="location.href='../normalUser/myAccountPay.html'">
						<img class="center-account-icon1" src="../../img/myAccIcon2.png" alt="" />
						<div class="font-base-28">充值</div>
						<div class="font-base-28 center-account-money">
							<img class="rz-icon" src="../../img/newGo.png" alt="" />
						</div>
					</div>
					<div class="center-account-public" @click="location.href='../normalUser/myAccountShu.html'">
						<img class="center-account-icon1" src="../../img/myAccIcon3.png" alt="" />
						<div class="font-base-28">赎回</div>
						<div class="font-base-28 center-account-money">
							<img class="rz-icon" src="../../img/newGo.png" alt="" />
						</div>
					</div>
					<div class="center-account-public" @click="location.href='../normalUser/myAccountShuP.html'">
						<img class="center-account-icon1" src="../../img/user7.png" alt="" />
						<div class="font-base-28">赎回进度</div>
						<div class="font-base-28 center-account-money">
							<img class="rz-icon" src="../../img/newGo.png" alt="" />
						</div>
					</div>
					<div class="center-account-public" @click="location.href='../normalUser/myAccountXian.html'">
						<img class="center-account-icon1" src="../../img/myAccIcon4.png" alt="" />
						<div class="font-base-28">现金记录</div>
						<div class="font-base-28 center-account-money">
							<img class="rz-icon" src="../../img/newGo.png" alt="" />
						</div>
					</div>
					<div class="center-account-public" @click="location.href='../normalUser/myAccountYu.html'">
						<img class="center-account-icon1" src="../../img/myAccIcon5.png" alt="" />
						<div class="font-base-28">待发现金余额记录</div>
						<div class="font-base-28 center-account-money">
							<img class="rz-icon" src="../../img/newGo.png" alt="" />
						</div>
					</div>
				</div>
			</div>
		</div>
	</body>

</html>